<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body>
<div>
<fieldset>
<legend>添加用户</legend>
<s:form action="addUser">
<s:textfield label="用户名" name="user.userName"></s:textfield>
<s:textfield label="密码" name="user.passWord"></s:textfield>
<s:textfield label="重复密码" name="again"></s:textfield>
<s:select list="{'未激活','激活'}" name="user.status"></s:select>
<s:select list="roles" name="roleId" listKey="id" listValue="roleName"
		headerKey="None" headerValue="未选择" label="所属角色"></s:select>
<s:submit></s:submit>
</s:form>
</fieldset>
</div>
</body>
</html>